package com.wbs.api;

import com.wbs.model.TbAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 芝梦
 * @Description:
 * @DateTime: 2024/2/27 18:19
 */
@FeignClient("dongdong-user-serivce")
public interface AddrAPI {
    //通过id查询地址信息
    @GetMapping("/address/selectAddrById")
    public TbAddress selectAddrById(@RequestParam Long id);
}
